package org.scut.gis.spider.controller;


import org.scut.gis.spider.service.StoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WebController {

    @Autowired
    private StoreService storeService;

    @RequestMapping("/create")
    public String create() {
        storeService.createDB();
        return "success";
    }

}
